﻿using System.Collections.Generic;
using System.Threading.Tasks;
using DayDayUp.Core;
using DayDayUp.Core.Domain.Posts;

namespace DayDayUp.Service.Posts
{
    public interface IPostService
    {

         Task<IPagedList<Post>> GetAllPosts(int userId);


        void SaveNewPost(string title, string description, string userId, string[] categories, bool isPublished);

        void PublishPost(int postId);

        

    }
}